# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo02
# Description:
# Author:       98745
# Date:         2019/3/11
#-------------------------------------------------------------------------------

from urllib3 import *
disable_warnings()
http=PoolManager()
url='http://localhost:5000/register'
response=http.request('POST',url,fields={'name':'李宁','age':18})
data=response.data.decode('utf-8')
print(data)